export enum CarOrderStatus {
  WAIT_PAY = 'WAIT_PAY',
  CONFIRM_DISAGREE = 'CONFIRM_DISAGREE',
  WAIT_CONFIRM = 'WAIT_CONFIRM',
  ORDER_SUCCESS = 'ORDER_SUCCESS',
  CANCEL = 'CANCEL',
  OVERDUE = 'OVERDUE',
  WAIT_SERVE = 'WAIT_SERVE',
  SERVING = 'SERVING',
  WAIT_START = 'WAIT_START',
  DONE = 'DONE',
  INVALID = 'INVALID'
}
export const enum RefundStatus {
  /**
   * 等待
   */
  WAIT = 'WAIT',

  /**
   * 部分退款
   */
  PART = 'PART',

  /**
   * 全额退款
   */
  DONE = 'DONE'
}

/**
 * 订单状态
 * @enum
 * @property {string} WAIT_PAY 待支付
 * @property {string} HAVE_PAID 已支付
 * @property {string} CONFIRM_DISAGREE 预定失败
 * @property {string} CANCEL 已取消
 * @property {string} WAIT_CONFIRM 待确认
 * @property {string} CONFIRMED 已确认
 * @property {string} OVERDUE 已逾期
 * @property {string} COMPLETE 已完成
 * @property {string} ORDER_SUCCESS 预约成功
 * @property {string} WAIT_DISPATCH 待派单
 */
export const enum OrderStatus {
  /**
   * 待支付
   */
  WAIT_PAY = 'WAIT_PAY',

  /**
   * 已支付
   */
  HAVE_PAID = 'HAVE_PAID',

  /**
   * 预定失败
   */
  CONFIRM_DISAGREE = 'CONFIRM_DISAGREE',

  /**
   * 已取消
   */
  CANCEL = 'CANCEL',

  /**
   * 待确认
   */
  WAIT_CONFIRM = 'WAIT_CONFIRM',

  /**
   * 已确认
   */
  CONFIRMED = 'CONFIRMED',

  /**
   * 已逾期
   */
  OVERDUE = 'OVERDUE',

  /**
   * 已完成
   */
  COMPLETE = 'COMPLETE',

  /**
   * 预约成功
   */
  ORDER_SUCCESS = 'ORDER_SUCCESS',

  /**
   * 待派单
   */
  WAIT_DISPATCH = 'WAIT_DISPATCH'
}
